reviewed by: Richard Hult
authorSven Herzberg <sven@imendio.com>
Sun, 20 Jul 2008 19:22:37 +0000 (19:22 +0000)
committerSven Herzberg <herzi@src.gnome.org>
Sun, 20 Jul 2008 19:22:37 +0000 (19:22 +0000)
commitbd86f2e8fb9a2a394aa43f854544402b23104e0a
treea72432e9013aa5310cab9f6a03d660fecf2e20a2
parent61ca4f71a04c3b3ac1b70af125c51e286830b0cf
reviewed by: Richard Hult

2008-07-20  Sven Herzberg  <sven@imendio.com>

reviewed by: Richard Hult

Fixes #543868: GdkPixmap is upside down on quartz

* gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
coordinate space from GTK+ orientation to CoreGraphics orientation
before calling CoreGraphics code
* gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
coordinate space flipping (we always get it right, now)
* gdk/quartz/gdkpixmap-quartz.c
(gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
creating the CGContextRef

svn path=/trunk/; revision=20870
ChangeLog
gdk/quartz/gdkdrawable-quartz.c
gdk/quartz/gdkgc-quartz.c
gdk/quartz/gdkpixmap-quartz.c